package route

import (
	"github.com/gin-gonic/gin"
	"gorm.io/gorm"
)

func Setup(db *gorm.DB, e *gin.Engine) {
	baseRouter := e.Group("/v1")
	NewUserRoute(db, baseRouter)
	NewPictureRoute(db, baseRouter)
	NewStaticRoute(baseRouter)
}
